TwoFA\Handler\Mo2f_Main_Handler D

Total Complexity 174
Dependencies 12
Dependents 6
Total lines 854
Lines of code 572
Logical lines of code 394
Comment lines 241
Methods 36
Properties 3

Methods 36

Method Rating Maintainability Complexity Lines of code
miniorange_pass2login_redirect()
C
34 30 82
miniorange_initiate_2nd_factor()
B
36 15 75
mo_two_factor_ajax()
A
48 11 33
mo2f_email_verification_success()
A
46 10 37
mo2f_process_validation_success()
A
46 10 37
mo2f_check_username_password()
A
46 8 34
mo2f_validate_otp_for_configuration()
S
55 7 17
mo2fa_pass2login()
S
53 6 23
mo2f_send_otp_for_configuration()
S
54 6 18
mo2f_check_if_twofa_is_enabled()
S
58 6 14
save_inline_2fa_method()
S
53 5 20
mo2f_validate_user_for_login()
S
63 5 9
mo2f_start_setup_2fa_dashboard()
S
60 4 12
mo2f_skip_2fa_setup()
S
60 4 11
mo2f_select_mfa_method()
S
63 4 9
mo2f_download_backup_codes_inline()
S
66 4 7
mo2f_twofa_validation_screen()
S
64 4 8
mo2f_remove_miniorange_auth_entries()
S
69 4 6
mo2f_show_error_on_wp_login_form()
S
63 3 11
mo2f_finish_inline_and_login()
S
66 3 7
mo2f_show_backup_method()
S
66 3 7
mo2f_resend_otp_login()
S
62 3 10
mo2f_start_inline_2fa()
S
60 2 13
mo2f_back_to_mfa_screen()
S
62 2 10
miniorange2f_back_to_inline_registration()
S
65 2 8
mo2f_skiptwofactor_wizard()
S
71 2 5
mo2f_show_on_wp_login_form()
S
69 2 7
mo2f_set_kba()
S
73 1 5
mo2f_send_reconfig_link()
S
76 1 4
mo2f_send_backup_codes()
S
76 1 4
mo2f_use_backup_codes()
S
76 1 4
mo2f_select_method_for_login()
S
72 1 5
mo2f_backup_code_validation_success()
S
76 1 4
mo2f_email_verification_failed()
S
76 1 4
mo2f_validate_backup_codes()
S
76 1 4
__construct()
S
66 1 8